<html xmlns="http://www.w3.org/1999/xhtml">

<head></head>

<body onload="document.getElementById('td').appendChild(document.createTextNode('Bar'));">
  <p>Reload to see the assertion failure.</p>
  <div><span dir="rtl">Foo<td id="td"></td></span></div>
</body>

</html>
